import { http } from "@/utils/http";
import baseUrlProxy from "@/api/baseUrlProxy";

export const getGainDayUser = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/gain/day/user", {
    params: data
  });
};

export const getGainDayVpp = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/gain/day/vpp", {
    params: data
  });
};

export const getGainMounthUser = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/gain/month/user", {
    params: data
  });
};

export const getGainMounthVpp = (data?: object) => {
  return http.request<any>("get", baseUrlProxy + "/api/gain/month/vpp", {
    params: data
  });
};
